#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2022/5/25 0:26
# @Author  : 刘广鸿
# @File    : models.py
# @Software: PyCharm

from app.dbs import db
from sqlalchemy import Column, Integer, String


class User(db.Model):
    __name__ = 'DB_TEST'
    id = Column(Integer, primary_key=True, nullable=False)
    username = Column(String(20), primary_key=True, nullable=False)
    userpassword = Column(String(20), nullable=False)
